<template>
	<div class="dict-page">
		<el-row :gutter="10">
			<el-col :span="12">
				<DictTypeCompVue @emitDictType="handleDictType" />
			</el-col>
			<el-col :span="12">
				<DictValueComp ref="dictValueCompRef" />
			</el-col>
		</el-row>
	</div>
</template>
<script name="SystemDict" setup>
import DictTypeCompVue from './leafPages/DictTypeComp.vue'
import DictValueComp from './leafPages/DictValueComp.vue'

const dictValueCompRef = ref(null)

const handleDictType = value => {
	dictValueCompRef.value.refRefresh(value)
}
</script>
<style lang="scss" scoped></style>
